let localName = ["南昌县", "安义县", "进贤县", "新建区", "东湖区", "西湖区", "青云谱区", "青山湖区", "红谷滩区"]

export let getLocalWeekData = function () {
    return localName.map((item) => {
        return {
            name: item,
            value: getWeekData()
        }
    })
}




function getWeekData() {
    let data = []
    for (let i = 0; i < 7; i++) {
        let value = Math.floor(Math.random() * 2000 + 500)
        data.push(value)
    }
    return data
}
